package com.cybertooth.dbconvenience.query.conditions;

import com.cybertooth.dbconvenience.query.columns.Column;

/**
 * <p></p>
 *
 * @author dnelson
 */
public class ColumnIsNotNull extends ColumnIsNull {

	// -----------------------------------------------------------------Constructors

	public ColumnIsNotNull(Column column) {
		super(column);
	}

	// ---------------------------------------------------------------Public Methods

	@Override
	public String toSql() {
		return new StringBuilder()
				.append(" ")
				.append(this.column.toSql()).append("IS NOT NULL")
				.append(" ")
				.toString();
	}
}
